#ifndef tlmRmtCfgSaver_H
#define tlmRmtCfgSaver_H

#include "Telematics.h"

//## class tlmRmtCfgSaver
// This is a saver class to save information to NVM
class tlmRmtCfgSaver {
    ////    Friends    ////
    
public :


    ////    Constructors and destructors    ////
    
    tlmRmtCfgSaver();
    
    ~tlmRmtCfgSaver();
    
    ////    Operations    ////
    
    //## operation GetInstance()
    static tlmRmtCfgSaver* GetInstance();
    
    //## operation SaveMsg(uint8_t*,uint32_t)
    BOOL SaveMsg(uint8_t* buf, uint32_t size);
    
    //## operation SaveParameters(uint32_t,uint8_t*,uint32_t)
    uint8_t SaveParameters(uint32_t id, uint8_t* buf, uint32_t size);
    
    //## operation SetMsgType()
    void SetMsgType();
protected :
    static tlmRmtCfgSaver* mpInstance;		//## attribute mpInstance
};

#endif
